import axios from 'axios';

export function getCompanyName(param) {
    return axios({
        method : 'get',
        url : '/rest/enterprise/search',
        params: param,
        headers: {
            'Cache-Control': 'no-cache'
        }
    })
}

export function saveInformation (param) {
    return axios({
        method : 'post',
        url : '/trialInfo/insertTrialInfo',
        data: param,
        headers: {
            'Cache-Control': 'no-cache'
        }
    })
}

export function getInformation(param) {
    return axios({
        method : 'get',
        url : '/trialInfo/trialManage/queryTrialInfoById',
        params: param,
        headers: {
            'Cache-Control': 'no-cache'
        }
    })
}

export function checkInformation(param) {
    return axios({
        method : 'get',
        url : '/trialInfo/trialManage/approveTrialInfo',
        params: param,
        headers: {
            'Cache-Control': 'no-cache'
        }
    })
}

export function getInformationList(param) {
    return axios({
        method : 'get',
        url : '/trialInfo/trialManage/queryTrialInfoList',
        params: param,
        headers: {
            'Cache-Control': 'no-cache'
        }
    })
}